//package com.faner.fast.rabbitmq.amqp;
//
//import com.faner.fast.rabbitmq.amqp.service.OrderService;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
///**
// * 取消订单消息的处理者
// */
//@Slf4j
//@Component
//@RabbitListener(queues = "fast.order.cancel")
//public class CancelOrderReceiver {
////    private static Logger LOGGER =LoggerFactory.getLogger(CancelOrderReceiver.class);
//    @Autowired
//    private OrderService orderService;
//    @RabbitHandler
//    public void handle(Long orderId){
//        log.info("receive delay message orderId:{}",orderId);
////        orderService.cancelOrder(orderId);
//    }
//
//}
//
